import request from '@/request/request'

// 收支项明细查询
export function getIncomeExpenseDetails(params) {
  return request({
    url: '/finance/financialReport/incomeExpenseDetails',
    method: 'get',
    params
  })
}

// 收付款明细查询
export function getPaymentReceiptDetails(params) {
  return request({
    url: '/finance/financialReport/paymentReceiptDetails',
    method: 'get',
    params
  })
}

// 利润报表
export function getProfitReport(params) {
  return request({
    url: '/finance/financialReport/profitReport',
    method: 'get',
    params
  })
}

// 导出收支项明细
export function exportIncomeExpenseDetails(params) {
  return request({
    url: '/finance/financialReport/exportIncomeExpenseDetails',
    method: 'get',
    params
  })
}

// 导出收付款明细
export function exportPaymentReceiptDetails(params) {
  return request({
    url: '/finance/financialReport/exportPaymentReceiptDetails',
    method: 'get',
    params
  })
}

// 导出利润报表
export function exportProfitReport(params) {
  return request({
    url: '/finance/financialReport/exportProfitReport',
    method: 'get',
    params
  })
}
